* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.layout {
  display: grid;
  grid-template-columns: auto 1fr;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 70px;
  background-color: #111;
  color: white;
  height: 100vh;
  position: sticky;
  top: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}
.sidebar:hover {
  width: 220px;
}

.logo {
  text-align: center;
  padding: 1rem 0;
}
.logo img {
  width: 40px;
  transition: all 0.3s ease;
  border-radius: 50px;
  border: 2px solid #ccc;
}
.sidebar:hover .logo img {
  width: 80%;
  border: 2px solid #fcb900;
  border-radius: 100px;
}

.nav {
  display: flex;
  flex-direction: column;
}
.nav a {
  color: #ccc;
  padding: 1rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
  white-space: nowrap;
}
.nav a i {
  min-width: 30px;
  text-align: center;
  font-size: 18px;
}
.nav a span {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar:hover .nav a span {
  opacity: 1;
  pointer-events: auto;
  margin-left: 10px;
}
.nav a:hover {
  background-color: #fcb900;
  color: black;
}

/* Main Content */
.main-content {
  overflow-y: auto;
  height: 100vh;
}
/* Footer */
.footer {
  background-color: #111;
  color: #eee;
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer h3,
.footer h4 {
  color: #fcb900;
  margin-bottom: 0.8rem;
}

.footer p,
.footer a,
.footer li {
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #fcb900;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact p i,
.footer-social a i {
  margin-right: 10px;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fcb900;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}
 .phone-dial {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #57595d;
  color: white;
  padding: 12px 0;
  font-size: 18px;
  border-radius: 150px;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.phone-dial i {
  margin-right: 8px;
}

.phone-dial:hover {
  background-color: #1ebe5b;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 1000;
  height: 100px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-float a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.whatsapp-float a:hover {
  background-color: #1ebe5b;
}
.chat-tooltip {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);
  background-color: #ffffff;
  color: #333;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

/* Chat bubble arrow */
.chat-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}
/* Show on hover */
.whatsapp-float a:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(-5px);
  pointer-events: auto;
}
.page-title {
  text-align: center;
  margin: 2rem 0;
}
#animated-title {
  font-size: 2.5rem;
  color: #333;
  animation: fadeInZoom 2s ease-in-out forwards;
  opacity: 0;
  transform: scale(0.8);
}
@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.flip-card {
  background: transparent;
  width: 170px;
  height: 220px;
  perspective: 1000px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.flip-card:nth-child(1) { animation-delay: 0.2s; }
.flip-card:nth-child(2) { animation-delay: 0.4s; }
.flip-card:nth-child(3) { animation-delay: 0.6s; }
.flip-card:nth-child(4) { animation-delay: 0.8s; }
.flip-card:nth-child(5) { animation-delay: 1s; }
.flip-card:nth-child(6) { animation-delay: 1.2s; }
.flip-card:nth-child(7) { animation-delay: 1.4s; }

@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-front {
  background-color: #fcb900;
  color: #111;
}

.flip-front i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.flip-back {
  background-color: #333;
  color: #fff;
  transform: rotateY(180deg);
}
.hero-image {
  text-align: center;
  margin: 1rem 0;
}

.hero-image img {
  max-width: 300px;
  width: 100%;
  height: 50%;
  animation: fadeIn 2s ease;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.guarantee {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #f9f9f9;
}
.guarantee h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}
.guarantee-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.badge {
  background: white;
  border: 2px solid #fcb900;
  border-radius: 150px;
  padding: 1.5rem;
  width: 220px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.badge:hover {
  transform: translateY(-5px);
}
.badge h3 {
  font-size: 1.2rem;
  color: #222;
  margin: 0.5rem 0;
}
.badge p {
  font-size: 0.9rem;
  color: #666;
}
.reviews {
  background: #f4f4f4;
  text-align: center;
  padding: 3rem 1rem;
}

.reviews h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.reviews p {
  color: #555;
  margin-bottom: 2rem;
}

.review-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.review-form button {
  background: #fcb900;
  color: #fff;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.review-form button:hover {
  background: #e0a800;
}
@media (max-width: 520px) {
  .sidebar {
      width: 55px;
  }
  .nav span {
      font-size: 1rem;
  }
  .nav a {
      padding: 0.8rem;
  }
  .sidebar:hover {
      width: 180px;
  }
  .sidebar:hover .logo img {
      width: 40%;
      border-radius: 50px;
  }
  .sidebar:hover .nav a span{
      font-size: 0.9rem;
  }
 }